projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38cba68
)
Win32: Fix typo on compilation speedup macro define
author
Luca Bacci
<luca.bacci982@gmail.com>
Fri, 21 Dec 2018 23:48:10 +0000
(
00:48
+0100)
committer
Luca Bacci
<luca.bacci982@gmail.com>
Sat, 22 Dec 2018 00:18:17 +0000
(
01:18
+0100)
There is a typo, the correct macro to define is WIN32_LEAN_AND_MEAN.
After this change <shellapi.h> must be included in order to use
ExtractIconExW().
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index f1f9c8f074d091be65786671ad6b2262e2159f1b..ccdb7f77a897e5eeac92ae6326fd48a8d74a784e 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-32,8
+32,9
@@
#ifndef S_ISDIR
#define S_ISDIR(mode) ((mode)&_S_IFDIR)
#endif
-#define WIN32_
MEAN_AND_L
EAN
+#define WIN32_
LEAN_AND_M
EAN
#include <windows.h>
+#include <shellapi.h>
#include "win32/gdkwin32.h"
#endif /* G_OS_WIN32 */